-
Home
-
ElasticPress
-
4.1.0
-
Code
-
Classes
- ProtectedContent
Total Complexity |
49 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
400 |
Lines of code |
182 |
Logical lines of code |
104 |
Comment lines |
155 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
integrate() |
A |
47 |
10 |
35 |
post_types() |
A |
52 |
8 |
26 |
integrate_comments_query() |
A |
53 |
8 |
23 |
remove_fields_from_password_protected() |
S |
53 |
6 |
26 |
exclude_protected_posts() |
S |
61 |
4 |
12 |
setup() |
S |
55 |
3 |
18 |
include_post_password() |
S |
71 |
2 |
5 |
requirements_status() |
S |
68 |
2 |
7 |
__construct() |
S |
65 |
1 |
9 |
query_password_protected_posts() |
S |
76 |
1 |
4 |
return_post_password() |
S |
77 |
1 |
4 |
output_feature_box_long() |
S |
74 |
1 |
5 |
get_statuses() |
S |
72 |
1 |
5 |
get_comment_statuses() |
S |
81 |
1 |
3 |